package com.pubinfo.passbook.common.model.bo.passbook.medical;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import java.io.Serializable;

@Data
@NoArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
public class MedicalEInvoiceInfo implements Serializable {
  
  @ApiModelProperty("医疗机构类型 医疗机构类型名称，如“三甲”")
  @XmlElement(name = "MedicalType")
  private String MedicalType;
  
  @ApiModelProperty("医保类型名称")
  @XmlElement(name = "PatientMedicalInsuranceType")
  private String PatientMedicalInsuranceType;
  
  @ApiModelProperty("身份证号码")
  @XmlElement(name = "IdCardNo")
  private String IdCardNo;
  
  @ApiModelProperty("社会保障号码一般和身份证号一致（不是社保卡号")
  @XmlElement(name = "PatientSsn")
  private String PatientSsn;
  
  @ApiModelProperty("病人性别")
  @XmlElement(name = "PatientGender")
  private String PatientGender;
  
  @ApiModelProperty("病历号 如果是住院票，填住院号")
  @XmlElement(name = "MedicalNo")
  private String MedicalNo;
  
  @ApiModelProperty("病历卡号 就诊卡号（自费卡号），医保病人为空")
  @XmlElement(name = "MedicalCardNo")
  private String MedicalCardNo;
  
  @ApiModelProperty("金额")
  @XmlElement(name = "AllAmount")
  private String AllAmount;
  
  @ApiModelProperty("金额(大小)")
  @XmlElement(name = "AllAmountCn")
  private String AllAmountCn;
  
  @ApiModelProperty("病人名称")
  @XmlElement(name = "PatientName")
  private String PatientName;
  
  @ApiModelProperty("手机号")
  @XmlElement(name = "PhoneNumber")
  private String PhoneNumber;
  
  @ApiModelProperty("电子邮箱")
  @XmlElement(name = "Email")
  private String Email;
  
  @ApiModelProperty("1:正常票；2作废票；默认1")
  @XmlElement(name = "EinvoiceStatus")
  private String EinvoiceStatus;
  
  @ApiModelProperty("作废原因")
  @XmlElement(name = "CancelReason")
  private String CancelReason;
}
